﻿using System.ComponentModel.DataAnnotations;

namespace ProductManagement.Api.DTOs
{
    public class UserDto
    {
        public int Id { get; set; }
        [Required]
        [MaxLength(50)]
        public string Name { get; set; }
        [Required]
        public string Sex { get; set; }
        [Required]
        public DateTime Birthday { get; set; }
        [Required]
        [MaxLength(11)]
        public string Phone { get; set; }
    }
}
